<template>
  <div id="app">
    <RouterView class="body" />
    <RouterView class="footer" name="tabbar" />
  </div>
</template>
<style lang="less" scoped>
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0;
}

::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  cursor: pointer;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.15);
  transition: color 0.2s ease;
}
#app {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  .loading {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: fixed;
    padding-top: 5.333333rem;
  }
  .body {
    flex: 1;
    overflow: hidden;
    background: #f5f6f7;
  }
  .footer {
    height: 50px;
  }
}
</style>
